Accusoft.PdfXpress5.ActiveX
Load PDF from File
See Also Send Feedback
PDF Xpress 5 for ActiveX - User Guide > How To > Load PDF from File

Glossary Item Box

PDF Xpress™ supports opening a PDF document from the local file system.

To load a PDF document using PDF Xpress, call the OpenDocument method or OpenDocumentEx method. 

PDF Xpress does not directly support remote file communication protocols, such as HTTP and FTP, to load PDF files.
PDF Xpress can load any well-formed PDF up to PDF version 1.7.  PDF Xpress saves all documents in PDF version 1.6.
VB Example Copy Code
'This code demonstrates loading a PDF document from file 
Dim pdfxpress1 As New Pdfxpress
pdfxpress1.Initialize
pdfxpress1.RaiseExceptions = True
Dim document As New PdfDocument
Dim openOpts As New OpenOptions
document.SetParentControl pdfxpress1
openOpts.FileName = "C:\test.pdf"
document.OpenDocumentOptions openOpts
.
.
.
Set document = Nothing
pdfxpress1.Terminate
Set pdfxpress1= Nothing

See Also

©2012. Accusoft Corporation. All Rights Reserved.